package com.cskaoyan.service;

import com.cskaoyan.annotation.ExecuteHamburger;
import org.springframework.stereotype.Service;

/**
 * @author stone
 * @date 2022/10/04 10:11
 */
@Service
public class UserServiceImpl implements UserService{

    @ExecuteHamburger
    @Override
    public void sayHello1() {
        System.out.println("hello1");
    }

    @ExecuteHamburger
    @Override
    public String sayHello2(String name) {
        System.out.println("hello2");
        return null;
    }

    @Override
    public String sayHello3(String name, Integer age) {
        System.out.println("hello3");
        return null;
    }
}
